package com.zhongli.devplatform.po.common;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author  WuXiCheng
 * @date  2020/7/23 10:12
 * @version 1.0
 */
@ApiModel(value="com-zhongli-devplatform-po-ReadNotice")
@Data
@TableName(value = "read_notice")
public class ReadNoticePO {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value="主键")
    private Integer id;

    /**
     * 通知类型
     */
    @TableField(value = "notice_type")
    @ApiModelProperty(value="通知类型")
    private Integer noticeType;

    /**
     * 通知标题
     */
    @TableField(value = "title")
    @ApiModelProperty(value="通知标题")
    private String title;
    /**
     * 通知内容
     */
    @TableField(value = "comment")
    @ApiModelProperty(value="通知内容")
    private String comment;

    /**
     * 发布人
     */
    @TableField(value = "publisher")
    @ApiModelProperty(value="发布人")
    private Integer publisher;

    /**
     * 发布时间
     */
    @TableField(value = "release_time")
    @ApiModelProperty(value="发布时间")
    private Date releaseTime;


    @ApiModelProperty(value="已读状态")
    private Boolean status;

    @ApiModelProperty(value="已读状态")
    private String notifiedPersonIds;

}
